package cn.cdiothree.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface SecurityService {
     /**
      * 获取短信验证码
      * @param request
      * @param response
      */
     void verify(HttpServletRequest request, HttpServletResponse response);

     /**
      * 修改密码
      * @param request
      * @param response
      * @param token
      */
     void changeSecret(HttpServletRequest request, HttpServletResponse response,String token);

     /**
      * 忘记密码
      * @param request
      * @param response
      */
     void forgetSecret(HttpServletRequest request, HttpServletResponse response);

     /**
      * 新用户注册
      * @param request
      * @param response
      */
     void register(HttpServletRequest request, HttpServletResponse response);


}
